package com.ww.demo.core.service;

import com.ww.demo.core.entity.UserInfo;
import com.ww.demo.core.entity.response.LoginResult;

import java.util.List;

/**
 * @author liuqingwang
 * @date 2021/10/25 21:55
 */
public interface UserService {

    /**
     * 用户登录
     *
     * @param account
     * @param password
     * @return
     */
    LoginResult login(String account, String password);

    List<UserInfo> getUserList(Integer start, Integer rows);

}
